Package-level declarations
Types
Link copied to clipboard
class DefaultGroundingResolver(repository: <Error class: unknown class>, entityLabel: String = ENTITY_LABEL) : GroundingResolver
Standard repository-backed GroundingResolver. Resolution is:
Link copied to clipboard
interface GroundingResolver
Resolves a com.embabel.dice.proposition.Proposition grounding id to the source entity node(s) that back it. The single, pluggable definition of the resolution convention — shared by the edge writer (GroundingWiringService) and the source-text readers — so the rule lives in exactly one place instead of being re-implemented (inconsistently) at each call site.
Link copied to clipboard
class GroundingWiringService(entityRepository: <Error class: unknown class>, resolver: GroundingResolver = DefaultGroundingResolver(entityRepository))
Materialises (:Proposition)-[:GROUNDED_IN]->(:<entity>) edges by walking each proposition's existing grounding: List<String> and, for every id that resolves via NamedEntityDataRepository.findById, writing the edge to the resolved entity.